package org.pt.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.pt.model.User;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfoDto {

    @Schema(description = "用户名", example = "john_doe")
    private String username;

    @Schema(description = "电子邮箱", example = "user@example.com")
    private String email;

    @Schema(description = "注册时间", example = "2023-05-15T10:00:00Z")
    private Date registerTime;

    @Schema(description = "头像路径", example = "avatars/user123.jpg")
    private String avatarPath;

    @Schema(description = "个人简介", example = "热爱编程的全栈工程师")
    private String bio;

    @Schema(description = "年龄", example = "28")
    private Integer age;

    @Schema(description = "学校名称", example = "清华大学")
    private String school;

    @Schema(description = "学院名称", example = "计算机科学与技术系")
    private String college;

    @Schema(description = "总上传量(字节)", example = "1024000")
    private Long totalUpload;

    @Schema(description = "总下载量(字节)", example = "512000")
    private Long totalDownload;

    @Schema(description = "邀请人数", example = "5")
    private Integer inviteCount;

    @Schema(description = "魔法值(平台积分)", example = "1500")
    private Integer magicValue;

    @Schema(description = "作品数量", example = "12")
    private Integer workCount;

}
